set PATH=%PATH%;D:\Programs\altera\13.1\quartus\sopc_builder\bin;D:\Programs\altera\13.1\quartus\bin

ip-generate --project-directory=./ --output-directory=./q_sys/synthesis/ --file-set=QUARTUS_SYNTH --report-file=qip:./q_sys/synthesis/q_sys.qip --system-info=DEVICE_FAMILY="Cyclone IV GX" --system-info=DEVICE=EP4CGX22CF19C8 --system-info=DEVICE_SPEEDGRADE=8 --component-file=./q_sys.qsys --language=VERILOG

quartus_sh --flow compile qsys_pcie_gen1

